﻿using System;
using System.Collections.Generic;

namespace Nine
{
	public interface IServiceProvider<T>
	{
		void Set<TService>(T service) where TService : T;
		TService Get<TService>() where TService : T;
		bool Contains<TService>() where TService : T;
		bool Remove<TService>() where TService : T;
	}
}
